﻿@model shenkong.Models.Dorm

@{
    ViewData["Title"] = "Delete";
}

<h1>删除</h1>

<h3>你确定要删除该信息吗？</h3>
<div>
    <h4>宿舍</h4>
    <hr />
    <dl class="row">
        <dt class = "col-sm-2">
            楼栋名称
        </dt>
        <dd class = "col-sm-10">
            @Html.DisplayFor(model => model.BuilidingName)
        </dd>
        <dt class = "col-sm-2">
            容纳人数
        </dt>
        <dd class = "col-sm-10">
            @Html.DisplayFor(model => model.DormContain)
        </dd>
        <dt class = "col-sm-2">
            入住人数
        </dt>
        <dd class = "col-sm-10">
            @Html.DisplayFor(model => model.Liver)
        </dd>
        <dt class = "col-sm-2">
            宿舍类型
        </dt>
        <dd class = "col-sm-10">
            @Html.DisplayFor(model => model.DormClass)
        </dd>
    </dl>
    
    <form asp-action="Delete">
        <input type="hidden" asp-for="DormId" />
        <input type="submit" value="删除" class="btn btn-danger" /> |
        <a asp-action="Index">返回</a>
    </form>
</div>
